//
//  CardDetailTableViewCell.m
//  cherryPicker
//
//  Created by Young Soo Yun on 12. 1. 11..
//  Copyright (c) 2012 Happy. All rights reserved.
//

#import "CardDetailTableViewCell.h"

#import "StringUtils.h"

@implementation CardDetailTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setData:(NSString*)labPlace
    labCategory:(NSString*)labCategory
        labDate:(NSString*)labDate
       labPrice:(NSString*)labPrice
    labDiscount:(NSString*)labDiscount{
    _labPlace.text = labPlace;
    _labCategory.text = labCategory;
    _labDate.text = labDate;
    _labPrice.text = [StringUtils moneyFormat:labPrice];
    _labDiscount.text = [StringUtils moneyFormat:labDiscount];
    
}

@end
